import http from '../index'

export const getTaskList = (data) => {
    return http({
        url: `/api/promotion/task/list`,
        method: 'POST',
        data
    })
}

// 获取分成比例
export const getRate = (parmas)=>{
    return http({
        url: `/api/task/distribute_rate_setting`,
        method: 'GET',
        parmas
    })
}